package com.jetlion.intent.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.jetlion.intent.R;


public class ShowActivity extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.act_show);

        Intent intent = getIntent();
        String action = intent.getAction();

        TextView textView = findViewById(R.id.action_name);
        textView.setText(action);
    }
}
